-
Notifications
You must be signed in to change notification settings - Fork 103
Remove Artifactory publishing logic from gradle build #3256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove Artifactory publishing logic from gradle build #3256
Conversation
We no longer need the artifactory publishing logic that we used to use for publishing in the gradle build as new releases are no longer being published there. This removes the now dead code from the build, which means we no longer need to include the artficatory plugin in our build-time dependencies, which is nice. There are a few other build files that appear to be dead code that we can remove, but this is more targetted. This resolves FoundationDB#3249.
@@ -37,7 +37,6 @@ plugins { | |||
alias(libs.plugins.versions) | |||
alias(libs.plugins.spotbugs) | |||
alias(libs.plugins.nexus) | |||
alias(libs.plugins.artifactory) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be removed from libs.versions.toml
now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh whoops. Definitely meant to remove it the first time. Yeah, it's unreferenced now. Removed
@@ -74,17 +73,6 @@ if (ext.publishLibrary) { | |||
} | |||
} | |||
} | |||
artifactoryPublish { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does mean that build.py
will break, but we're not using that anywhere, and plan to remove it very shortly, so that seems fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah. I've filed #3257 to do just that. Given that build.py
is also unused by our build process, I think it's okay if it's broken. Or we remove it first.
We no longer need the artifactory publishing logic that we used to use for publishing in the gradle build as new releases are no longer being published there. This removes the now dead code from the build, which means we no longer need to include the artficatory plugin in our build-time dependencies, which is nice.
There are a few other build files that appear to be dead code that we can remove, but this is more targeted. I've validated that I can still publish to maven local with this change, and all of the logic seems to be pretty specific to actually running an artifactory build, so this shouldn't disrupt our other build procedures, but I guess one never knows.
This resolves #3249.